<table class="table table-bordered table-striped ">
    <thead>
    <thead>
    <tr>
        <th width="80">ID</th>
        <th width="80">订单编号</th>
        <th width="80">通知状态</th>

        <th width="80">未发货时间</th>
        <th width="80">第一次提醒</th>
        <th width="80">最新提醒时间</th>
        <th class="col-sm-1 mn70">操作</th>
    </tr>
    </thead>
    <tbody>

    {volist name="data.list" id="vo" }

    <tr class="clike_s" data-id="{$vo.order_id}"data-type="{$vo.type}">

            <td>{$vo.id}</td>
            <td>{$vo.order_sn}</td>
            <td align="center">
                {$vo.type==1?'商城订单':'云端提货订单'}
            </td>

            <td>{$vo.day_num}天</td>
            <td>
                {$vo.add_time|date="Y-m-d H:i:s"}
            </td>
            <td>{$vo.update_time|date="Y-m-d H:i:s"}</td>
            <td>
                <a href="javascript:;" class="m-xs" title="去发货"><i
                        class="fa fa-edit text-muted"></i>去发货</a>
            </td>

    </tr>

    {/volist}
    </tbody>
</table>
{empty name="data.list"}
<table width="100%">
    <tr>
        <td height="300" colspan="8" align="center" valign="middle">没有相关数据！</td>
    </tr>
</table>
{/empty}

<script>
    $(".clike_s").click(function () {
        var id=$(this).data('id');
        var type=$(this).data('type');
        if (type==1){
            location.href="/lzadmin.php/shop/sys_admin.order/info/order_id/"+id+".html"

        }
        else{
            location.href="/lzadmin.php/channel/sys_admin.order/pickupinfo/order_id/"+id+".html"
        }
    })
</script>